<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>
<%@ include file="../inc/topo.jsp" %>
	<div id="breadcrumb">
		<s:text name="label.breadcrumb" />
		<a href="listarPagina.action">
			<s:text name="pagina.nome" />
		</a>
		<s:text name="breadcrumb.separador" /><s:text name="label.incluir" /><s:text name="pagina.nome" />
	</div>
	<br/><h1><s:text name="label.incluir" /><s:text name="pagina.nome" /></h1>
	<br/><a href="listarPagina.action?sitio.nuSitio=${sitio.nuSitio}"><b><s:text name="label.voltar" /></b></a>
	<c:if test="${nu_pagina!=null}">
		<s:url id="lnkConteudo" action="listarConteudo">
			<s:param name="sitio.nuSitio" value="sitio.nuSitio"></s:param>
			<s:param name="pagina.nuPagina" value="nu_pagina"></s:param>
		</s:url>
	| <s:a href="%{lnkConteudo}"><b><s:text name="conteudo.nome" /></b></s:a>
	</c:if>
	<br />
	<%@ include file="../inc/mensagens.jsp" %>
	<c:if test="${nu_pagina!=null}">
		<div class="nextNext">
			<script type="text/javascript"><!--
				document.write('<input type="button" onclick="document.location.href=\'preAdicionarConteudo.action?sitio.nuSitio=${sitio.nuSitio}&amp;pagina.nuPagina=${nu_pagina}\'" value="Pr&oacute;ximo passo" title="Criar uma &aacute;rea de conte&uacute;do para esta p&aacute;gina." accesskey="n">');
			//-->
			</script>
			<noscript>
				<p>
					<a href="preAdicionarConteudo.action?sitio.nuSitio=${sitio.nuSitio}&amp;pagina.nuPagina=${nu_pagina}">
						Pr&oacute;ximo passo: criar uma &aacute;rea de conte&uacute;do para esta p&aacute;gina.
					</a>
				</p>
			</noscript>
		</div>
	</c:if>
	<s:form action="adicionarPagina" validate="true">
		<jsp:include page="pagina_form.jsp" />
		<div class="TbLEdit_btns">
			<s:hidden name="itemMenu.nuItemMenu"></s:hidden>
			<s:submit name="inserir" key="button.label.adicionar" accesskey="s" /> <s:reset name="limpar" key="button.label.limpar"/>
		</div>
	</s:form>
	<jsp:include page="../inc/final.jsp" />
